local skill = fk.CreateSkill({
  name = "kq__hulie", 
  tags = {Skill.Compulsory}, 
})

local spec = {
  anim_type = "masochism",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(skill.name) and data.card and data.card.color == Card.Red
  end,
  on_use = function (self, event, target, player, data)
    local room = player.room
    room:loseHp(data.from, 1, skill.name)
    if player == data.from then
      player:drawCards(3, skill.name)
    end
  end,
}

skill:addEffect(fk.Damage, spec)
skill:addEffect(fk.Damaged, spec)


Fk:loadTranslationTable {
["kq__hulie"] = "虎烈",
[":kq__hulie"] = "锁定技，当你使用红色牌造成伤害后，或你受到红色牌造成的伤害后，你令伤害来源失去1点体力。你因“虎烈”失去体力时，你摸三张牌。",
["$kq__hulie1"] = "剑有双刃，福祸相依,既享其功，又何惧其损。",
["$kq__hulie2"] = "战有所殆，木强则折，孙坚岂惧战作态之人。",
}
return skill